package com.java.common.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Dept entity. @author MyEclipse Persistence Tools
 */

public class Dept implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7760457698082550738L;
	private String deptId;
	private Emp emp;
	private String name;
	private String tel;
	private String facsimile;
	private String remark;
	private String delif;
	private Set<Room> rooms = new HashSet<Room>(0);
	private Set<Emp> emps = new HashSet<Emp>(0);

	// Constructors

	/** default constructor */
	public Dept() {
	}

	/** minimal constructor */
	public Dept(String deptId) {
		this.deptId = deptId;
	}

	/** full constructor */
	public Dept(String deptId, Emp emp, String name, String tel,
			String facsimile, String remark, String delif, Set<Room> rooms, Set<Emp> emps) {
		this.deptId = deptId;
		this.emp = emp;
		this.name = name;
		this.tel = tel;
		this.facsimile = facsimile;
		this.remark = remark;
		this.delif = delif;
		this.rooms = rooms;
		this.emps = emps;
	}

	// Property accessors

	public String getDeptId() {
		return this.deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public Emp getEmp() {
		return this.emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFacsimile() {
		return this.facsimile;
	}

	public void setFacsimile(String facsimile) {
		this.facsimile = facsimile;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDelif() {
		return this.delif;
	}

	public void setDelif(String delif) {
		this.delif = delif;
	}

	public Set<Room> getRooms() {
		return this.rooms;
	}

	public void setRooms(Set<Room> rooms) {
		this.rooms = rooms;
	}

	public Set<Emp> getEmps() {
		return this.emps;
	}

	public void setEmps(Set<Emp> emps) {
		this.emps = emps;
	}

}